

#include "ADHeatDiffusionKernel.h"

registerMooseObject("chargeApp", ADHeatDiffusionKernel);

InputParameters
ADHeatDiffusionKernel::validParams()
{
  InputParameters params = ADDiffusion::validParams();
  params.set<bool>("use_displaced_mesh") = true;
  return params;
}

ADHeatDiffusionKernel::ADHeatDiffusionKernel(const InputParameters & parameters)
  : ADKernelGrad(parameters),
   _AD_thermal_conductivity(getADMaterialProperty<Real>("thermal_conductivity"))
{
}

ADRealVectorValue
ADHeatDiffusionKernel::precomputeQpResidual()
{
  return _AD_thermal_conductivity[_qp] *_grad_u[_qp];

}
